package com.dasberg.gwt.client;

import com.google.gwt.user.client.rpc.SerializationException;

/**
 * Base exception that is thrown when authentication with the system fails.
 * @author mischa
 */
public class AuthenticationException extends SerializationException {
    /** Constructor. */
    public AuthenticationException() {
    }

    /**
     * Constructor.
     * @param msg The message.
     */
    public AuthenticationException(String msg) {
        super(msg);
    }

    /**
     * Constructor.
     * @param msg The message.
     * @param cause The cause.
     */
    public AuthenticationException(String msg, Throwable cause) {
        super(msg, cause);
    }

    /**
     * Constructor.
     * @param cause The cause.
     */
    public AuthenticationException(Throwable cause) {
        super(cause);
    }
}